package com.edu.publisher.service.impl;

import com.edu.publisher.beans.AppVideoVisit;
import com.edu.publisher.mapper.AppVideoMapper;
import com.edu.publisher.service.AppVideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AppVideoServiceImpl implements AppVideoService {

    @Autowired
    private AppVideoMapper appVideoMapper;

    @Override
    public List<AppVideoVisit> getAppVideo(Integer date) {
        return appVideoMapper.selectVisitor(date);
    }
}
